-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add redirect test workflow / github action #3786
base: master
Are you sure you want to change the base?
Conversation
Add redirect tests
This is an interesting testing approach. Thanks. We'll probably need to think this over a bit.
|
Co-authored-by: Jesper Friis <jesper-friis@users.noreply.github.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
#LoadModule speling_module modules/mod_speling.so | ||
#LoadModule userdir_module modules/mod_userdir.so | ||
LoadModule alias_module modules/mod_alias.so | ||
LoadModule rewrite_module modules/mod_rewrite.so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diffs to the default config: Rewrite modul must be enabled
# It can be "All", "None", or any combination of the keywords: | ||
# AllowOverride FileInfo AuthConfig Limit | ||
# | ||
AllowOverride All |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diffs to the default config: AllowOverride must be enabled in the target directory
|
Currently there are no or only limited pre-deployment testing options (see also #1629).
This pullrequest adds a workflow that can be run in the main repo, any fork or on local checkouts if docker is available.
Test specifications are currently extracted from .htaccess file comments, e. g.
Example: 4892875
Contributors can run the github action in their forks selecting only the subpath of interest:
Example: https://github.com/OpenSemanticWorld/w3id.org/actions/workflows/redirect_tests.yml
Run will fail if at least one test is not successful, log will show errors e.g.
Example: https://github.com/OpenSemanticWorld/w3id.org/actions/runs/7224639650/job/19686349546
More details can be found here: https://github.com/OpenSemanticWorld/w3id.org/blob/master/.test/README.md
Let me know if that makes sense to you and if I should stash my commits